package com.smartstate.dataManagement.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;

@TableName(value = "equipment")
@Data
@ApiModel(description = "能耗日报实体")
public class EnergyReport {

    @ExcelProperty("出线柜")
    @ApiModelProperty(value = "出线柜名称")
    private String tableName;

    @ExcelProperty("表具名称")
    @ApiModelProperty(value = "表具名称")
    private String name;

    @ExcelIgnore
    @ApiModelProperty(value = "电表ID")
    private String deviceId;

    @ExcelProperty("位置")
    @ApiModelProperty(value = "位置")
    private String location;

    @ExcelProperty("用途")
    @ApiModelProperty(value = "用途")
    private String application;

    @ExcelProperty("系统")
    @ApiModelProperty(value = "系统")
    private String systemName;

    @ExcelProperty("拉线")
    @ApiModelProperty(value = "拉线")
    private String stayguy;

    @ExcelProperty("合计用电量(kW·h)")
    @ApiModelProperty(value = "合计用电量")
    private String meterSum = "0";

    @ExcelIgnore
    @ApiModelProperty(value = "时间")
    private String dayStr;

    @ExcelIgnore
    @ApiModelProperty(value = "附加属性")
    private String additionalAttribute;


}
